Skip to content

feat: Add proof to GetBlockByNumber#1864

Merged
sergerad merged 9 commits intonextfrom
sergerad-get-proof
Apr 2, 2026
Merged

feat: Add proof to GetBlockByNumber#1864
sergerad merged 9 commits intonextfrom
sergerad-get-proof

Conversation

@sergerad
Copy link
Copy Markdown
Collaborator

@sergerad sergerad commented Mar 30, 2026

GetBlockByNumber: support optional block proof in response

Closes #1863 and #1839

Updates the GetBlockByNumber gRPC endpoint to accept a BlockRequest (with optional include_proof flag) and return a MaybeBlock containing the block and an optional block proof.

Adds load_proof to the store's BlockStore and State to read proof files from disk when requested.

@sergerad sergerad requested review from bobbinth and igamigo March 30, 2026 23:19
sergerad and others added 2 commits April 1, 2026 07:18
Co-authored-by: Mirko <48352201+Mirko-von-Leipzig@users.noreply.github.com>
Copy link
Copy Markdown
Contributor

@bobbinth bobbinth left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good! Thank you! I left a few small comments inline.

@sergerad sergerad requested a review from bobbinth April 2, 2026 06:00
Copy link
Copy Markdown
Contributor

@bobbinth bobbinth left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good! Thank you!

@sergerad sergerad merged commit 62e76b8 into next Apr 2, 2026
18 checks passed
@sergerad sergerad deleted the sergerad-get-proof branch April 2, 2026 19:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add block proof to GetBlockByNumber endpoint

3 participants